From: Keir Fraser Date: Thu, 13 Nov 2008 10:50:50 +0000 (+0000) Subject: xm: display domain id on domain creation X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~14043^2~36 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/success//%22http:/www.example.com/cgi/success/?a=commitdiff_plain;h=3c66521c46e6d3aad96a5270ea160bce2e7a2d0f;p=xen.git xm: display domain id on domain creation Signed-off-by: Kouya Shimura --- diff --git a/tools/python/xen/xm/create.py b/tools/python/xen/xm/create.py index eb8f3e237c..3620e4968d 100644 --- a/tools/python/xen/xm/create.py +++ b/tools/python/xen/xm/create.py @@ -1202,8 +1202,9 @@ def make_domain(opts, config): except: server.xend.domain.destroy(dom) err("Failed to unpause domain %s" % dom) - opts.info("Started domain %s" % (dom)) - return int(sxp.child_value(dominfo, 'domid')) + domid = int(sxp.child_value(dominfo, 'domid')) + opts.info("Started domain %s (id=%d)" % (dom, domid)) + return domid def get_xauthority():